package com.huawei.gamebox.service.usercenter.personal.bean;

import com.huawei.appgallery.jsonkit.api.annotation.FieldSecurity;
import com.huawei.appgallery.jsonkit.api.annotation.SecurityLevel;
import com.huawei.appgallery.serverreqkit.api.bean.BaseResponseBean;
import org.json.JSONException;
import org.json.JSONObject;

public class GetUserSummaryInfoRes extends BaseResponseBean {
    @FieldSecurity(security = SecurityLevel.PRIVACY)
    private String body_;
    private UserSummaryInfoBean infoBean;

    public GetUserSummaryInfoRes() {
        ˊ(new UserSummaryInfoBean());
    }

    public UserSummaryInfoBean ˊ() {
        return this.infoBean;
    }

    public void ˊ(UserSummaryInfoBean userSummaryInfoBean) {
        this.infoBean = userSummaryInfoBean;
    }

    public void fromJson(JSONObject jSONObject) throws IllegalArgumentException, IllegalAccessException, InstantiationException, ClassNotFoundException, JSONException {
        super.fromJson(jSONObject);
        if (this.body_ != null) {
            JSONObject jSONObject2 = new JSONObject(this.body_);
            if (this.infoBean != null) {
                this.infoBean.fromJson(jSONObject2);
            }
        }
    }
}
